﻿namespace Suture.Tests
{
    using System;

    using Suture.StubGeneration;

    public class FakeStubGenerator : IStubGenerator
    {
        public T GenerateStub<T>()
        {
            if (typeof(T) == typeof(string))
            {
                return (T)(object)"DummyValue";
            }

            throw new NotSupportedException("Type not supported");
        }
    }
}